import paddlehub as hub
import cv2

# ocr = hub.Module(name="chinese_ocr_db_crnn_server", enable_mkldnn=True)       # mkldnn加速仅在CPU下有效
ocr = hub.Module(name="chinese_ocr_db_crnn_server", enable_mkldnn=False)
result = ocr.recognize_text(images=[cv2.imread('./test/4A80BD1AA9644187816152C00598EB47.png')])

# or
# result = ocr.recognize_text(paths=['/PATH/TO/IMAGE'])

print(result)